package com.wnxy.sddfp.common.model.page;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 封装分页参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PageVo<T> implements Serializable {
    private static final long serialVersionUID = 1L;
    private List<T> list;
    private long total;
    private long pageNum=1;
    private long pageSize=2;
}
